package com.chengwang.bookstory.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface TypeMapper {
    void addType(String type);
    List<String> queryAllType();

    void deleteType(String type);

    void updateType(String type1, String type2);
}
